# -*- coding: utf-8 -*-  
import numpy as np  
from matplotlib.font_manager import FontProperties
from matplotlib.ticker import MultipleLocator, FormatStrFormatter
import matplotlib.pyplot as plt

import numpy as np
from com.seq.sequence import plot

w = np.arange(0.0, 0.80, 0.05)
ap = [0.7796713107198282, 0.67386587505433015, 0.63735873520287789, 0.61040861061232188, 0.59257714826351127,
 0.50287356321839083, 0.4491249491249491, 0.52064173308808492, 0.47296379322056925, 0.49680272108843532,
 0.49680272108843532, 0.47296379322056925, 0.47296379322056925, 0.49680272108843532, 0.47296379322056925,
 0.49680272108843532]

ar = [0.43277310924369744, 0.30812324929971985, 0.28991596638655459, 0.25490196078431371, 0.18907563025210083, 0.15826330532212887, 0.149859943977591, 0.15406162464985992, 0.15126050420168066, 0.15266106442577029, 0.15266106442577029, 0.15126050420168066, 0.15126050420168066, 0.15266106442577029, 0.15126050420168066, 0.15266106442577029]
ia =[0.4327731092436975, 0.3081232492997199, 0.28991596638655465, 0.25490196078431371, 0.18907563025210083, 0.15826330532212884, 0.14985994397759103, 0.15406162464985995, 0.15126050420168066, 0.15266106442577032, 0.15266106442577032, 0.15126050420168066, 0.15126050420168066, 0.15266106442577032, 0.15126050420168066, 0.15266106442577032]

ap = np.array(ap)
ar = np.array(ar)
ia = np.array(ia)

print len(ap),len(ar),len(ia)

plot(ap,ar,ia,ia,w)